<div class="form-group">
  <label>{{ aggParam.name | label }}</label>
  <div>
    <input type="text" ng-model="agg.params[aggParam.name]" class="form-control">
  </div>
</div>